package com.itheima.user.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_address")
public class Address {

    @TableId
    private Long id;
    @TableField("user_id")
    private String userId;
    @TableField("province_id")
    private String provinceId;
    @TableField("city_id")
    private String cityId;
    @TableField("town_id")
    private String townId;
    private String mobile;
    private String address;
    private String contact;
    @TableField("is_default")
    private String isDefault;
    private String notes;
    @TableField("create_date")
    private Date createDate;
    private String alias;

}
